@page
@using EasyAbp.EShop.Payments.Localization
@using EasyAbp.EShop.Payments.Web.Menus
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@using EasyAbp.EShop.Payments.Web.Pages.EShop.Payments.Payments.PaymentItem
@model IndexModel
@inject IPageLayout PageLayout
@inject IHtmlLocalizer<PaymentsResource> L
@{
    PageLayout.Content.Title = L["PaymentItem"].Value;
    PageLayout.Content.BreadCrumb.Add(L["Menu:PaymentItem"].Value);
    PageLayout.Content.MenuItemName = PaymentsMenus.Payment;
}

@section scripts
{
    <abp-script src="/Pages/EShop/Payments/Payments/PaymentItem/index.js" />
}
@section styles
{
    <abp-style src="/Pages/EShop/Payments/Payments/PaymentItem/index.css"/>
}

<script>
    var paymentId = '@Model.PaymentId';
</script>

<abp-card>
    <abp-card-header>
        <abp-row>
            <abp-column size-md="_6">
                <abp-card-title>@L["PaymentItem"]</abp-card-title>
            </abp-column>
        </abp-row>
    </abp-card-header>
    <abp-card-body>
        <abp-table striped-rows="true" id="PaymentItemTable" class="nowrap">
            <thead>
            <tr>
                <th>@L["Actions"]</th>
                <th>@L["PaymentItemStoreId"]</th>
                <th>@L["PaymentItemItemType"]</th>
                <th>@L["PaymentItemItemKey"]</th>
                <th>@L["PaymentItemOriginalPaymentAmount"]</th>
                <th>@L["PaymentItemPaymentDiscount"]</th>
                <th>@L["PaymentItemActualPaymentAmount"]</th>
                <th>@L["PaymentItemRefundAmount"]</th>
                <th>@L["PaymentItemPendingRefundAmount"]</th>
            </tr>
            </thead>
        </abp-table>
    </abp-card-body>
</abp-card>